Computer and Modernization ›› 2009, Vol. 8 ›› Issue (8): 49-53.doi: 10.3969/j.issn.1006-2475.2009.08.014

• 网络与通信 • Previous Articles     Next Articles

Implementation of Data Communication Using Parallel Ports with WinIo

YUAN Jun1,TAN Yong-dong1,REN Jun2   

  1. 1. School of Electrical Engineering, Southwest Jiaotong University, Chengdu 610031, China;2. Meteorological Office, 77516 Army in Tibet Military Area, Lasa 850000, China
  • Received:2008-08-26 Revised:1900-01-01 Online:2009-08-21 Published:2009-08-21

Abstract: Because of security, the I/O ports can’t be accessed directly in Windows 2000/XP/ NT. To realize the communication between PC and peripheral equipments by parallel ports, this paper proposes an approach which circumvents Windows protection mechanisms using virtual X device provided by WinIo library. Based on the analyses of hardware principle and working modes of parallel ports, finally through interface experiment the process of operation, codes to realize communication in application program with functions in dynamic link libraries (DLL) are given.

Key words: parallel port, data communication, WinIo, PC, Windows 2000/XP/NT

CLC Number: